<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.box{
				width: 200px;
				height: 200px;
				background: red;
			        }
		</style>
		<script src="./vue.js">
			
		</script>
		
	</head>
	<body>
		<div id="app">
			<!-- <input type="checkbox" v-model="seen"/> -->
			<!-- <div v-if="seen" class="box"></div>
			<p v-else>红色小块隐藏</p> -->
			<div v-show="seen" class="box">
				
			</div>
		</div>
		<script type="text/javascript">
			var vm = new Vue({
				el:"#app",
				data:{
					seen:true
				}
			})
		</script>
	</body>
</html>
